import request from "@/request/index.js";

// 查询角色对应的菜单信息
export const FindRoleMenu = (roleId) => {
    return request.post(`/v1/sys/role/menu/list?roleId=${roleId}`, {})
}


// 保存角色对应的菜单信息
export const SaveRoleMenu = (data) => {
    return request.post(`/v1/sys/role/menu/save`, data)
}
